Remove an Rc optimization that's no longer necessary
authorAlex Crichton <alex@alexcrichton.com>
Mon, 27 Jul 2015 22:40:02 +0000 (15:40 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 27 Jul 2015 22:40:02 +0000 (15:40 -0700)
commit88f5bb5a2d9f9a670d97ab0853f13a7e3b5a1bb0
tree2d731c8ad0a72c529ece69f0baca03e61396477d
parent76ef150ada815406646f52440928e4872bbefdcf
Remove an Rc optimization that's no longer necessary

This optimization ended up not being correct with the recent switch to being
more recursive, and after some profiling it looks like this optimization for
memory usage isn't even needed any more. This commit removes the `Rc` sharing,
fixing #1841 in the process.

Closes #1841
src/cargo/core/resolver/mod.rs
tests/test_cargo_registry.rs